import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/umsVipRights/paginQuery',
    method: 'get',
    params: params
  })
}
export function add(data) {
  return request({
    url: '/umsVipRights/add',
    method: 'post',
    data: data
  })
}
 
export function edit(data) {
  return request({
    url: '/umsVipRights/edit',
    method: 'post',
    data: data
  })
}

 
export function del(params) {
  return request({
    url: '/umsVipRights/deleteById',
    method: 'get',
    params: params
  })
}
export function umsVipRightRelation(data) {
  return request({
    url: '/umsVipRightRelation/add',
    method: 'post',
    data: data
  })
}
